package com.linkwedo.saas.domain;

import java.sql.Timestamp;
import java.util.Date;
import java.util.List;

import com.linkwedo.saas.domain.member.User;

public class Project implements java.io.Serializable{
	private static final long serialVersionUID = 5496698979017255167L;
	private Integer id;
	private String name;
	private String leaderName;
	private String goal;
	private Timestamp createTime;
	private Date dueDate;
	private String description;
	private Double budget;
	private String tag;
	private Short color;
	private String picPath;
	private String note;
	private Integer status;
	
	List<Target> targetlist;
	List<Task> tasklist;
	List<User> userlist;
	
	public List<Target> getTargetlist() {
		return targetlist;
	}

	public void setTargetlist(List<Target> targetlist) {
		this.targetlist = targetlist;
	}

	public List<Task> getTasklist() {
		return tasklist;
	}

	public void setTasklist(List<Task> tasklist) {
		this.tasklist = tasklist;
	}

	public List<User> getUserlist() {
		return userlist;
	}

	public void setUserlist(List<User> userlist) {
		this.userlist = userlist;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	/** default constructor */
	public Project() {
	}

	/** minimal constructor */
	public Project(String name, String leaderName, String goal,
			Timestamp createTime) {
		this.name = name;
		this.leaderName = leaderName;
		this.goal = goal;
		this.createTime = createTime;
	}

	/** full constructor */
	public Project(String name, String leaderName, String goal,
			Timestamp createTime, Date dueDate, String description,
			Double budget, String tag, Short color, String picPath, String note) {
		this.name = name;
		this.leaderName = leaderName;
		this.goal = goal;
		this.createTime = createTime;
		this.dueDate = dueDate;
		this.description = description;
		this.budget = budget;
		this.tag = tag;
		this.color = color;
		this.picPath = picPath;
		this.note = note;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getLeaderName() {
		return leaderName;
	}
	public void setLeaderName(String leaderName) {
		this.leaderName = leaderName;
	}
	public String getGoal() {
		return goal;
	}
	public void setGoal(String goal) {
		this.goal = goal;
	}
	public Timestamp getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}
	public Date getDueDate() {
		return dueDate;
	}
	public void setDueDate(Date dueDate) {
		this.dueDate = dueDate;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Double getBudget() {
		return budget;
	}
	public void setBudget(Double budget) {
		this.budget = budget;
	}
	public String getTag() {
		return tag;
	}
	public void setTag(String tag) {
		this.tag = tag;
	}
	public Short getColor() {
		return color;
	}
	public void setColor(Short color) {
		this.color = color;
	}
	public String getPicPath() {
		return picPath;
	}
	public void setPicPath(String picPath) {
		this.picPath = picPath;
	}
	public String getNote() {
		return note;
	}
	public void setNote(String note) {
		this.note = note;
	}

	
}
